package com.qumoyugo.springframework.context;

import com.qumoyugo.springframework.beans.BeansException;

public interface ConfigurableApplicationContext extends ApplicationContext {

    /**
     * 刷新容器
     * @throws BeansException
     */
    void refresh() throws BeansException;

    /**
     * 虚拟机钩子
     */
    void registerShutdownHook();

    /**
     * 关闭销毁
     */
    void close();
}
